import fetch from 'utils/fetch';
// 分页
export function overdueRateData(query) {
  return fetch({
    url: '/api/admin/loanOrderApplyTown/overdueRateData',
    method: 'get',
    params: query
  });
}

// 分页
export function pageData(data) {
  return fetch({
    url: '/api/admin/report/overdue/find/page',
    method: 'post',
    data
  });
}
// 导出
export function exportData(data) {
  return fetch({
    url: '/api/admin/report/overdue/find/export',
    method: 'post',
    data
  })
}

// 折线图
export function lineChart(data) {
  return fetch({
    url: '/api/admin/report/overdue/find/line/chart/list',
    method: 'post',
    data
  })
}